﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CodeIn.Ui;
using CodeIn.Core.Modules;

namespace CodeIn.Modules.Misc.CommandList {
	public class CommandList : BaseModule {
		protected override void InitializeOverride() {
		}

		protected override bool CanExecuteOverride(string[] args) {
			return true;
		}

		protected override void ExecuteOverride(string[] args) {
			UiHelper.CreateAndShowPanel("Command list", PanelSide.BOTTOM, () => {
				var view = new CommandListView();
				var vm = new CommandListViewModel();
				view.DataContext = vm;
				return view;
			});
		}
	}
}
